<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>用户注册-聚友网</title>
  </head>
  
  <body>
    <h2 align="center">用户注册</h2>
    <s:form action="newuseraction">
    	<s:textfield name="id" label="用户编号" readOnly="true" value="系统自动生成"></s:textfield>
    	<s:textfield name="name" label="用户名"></s:textfield>
    	<s:password name="password" label="用户密码"></s:password>
    	<s:password name="repassword" label="再输一次"></s:password>
    	<s:textfield name="chnname" label="中文姓名"></s:textfield>
    	<s:textfield name="sex" label="性别"></s:textfield>
    	<s:textfield name="icno" label="IC卡号"></s:textfield>
    	<s:textfield name="userrole" label="用户角色" value="A01"></s:textfield>
    	<s:textfield name="note" label="备注" ></s:textfield>
    	<s:submit value="注册"></s:submit>
    </s:form>
    <hr color="#FAFAFA"/>
    <a href="login.jsp">已有账户登录</a>
  </body>
</html>
